<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--引用CSS-->
	<link rel="stylesheet" type="text/css" href="css/mycss.css">
	
  </head>
  
  <body>
  <table width="773" height="787" border="0" align="center">
  <tr>
    <td height="112" colspan="2"><div align="center">
    <!--引入head.jsp到主界面来  -->
    <jsp:include flush="true" page="head.jsp"></jsp:include>
    </div></td>
  </tr>
  
  <tr>
  
    <td width="25%" height="500" valign="top" bgcolor="8CCBF6"><div align="center">

    <jsp:include flush="true" page="leftCompany.jsp"></jsp:include>
    </div></td>
    
    <td width="75%" valign="top"><div align="center" >   
    
        <center>
        <br>
        <br>欢迎<s:property value="#session.companyName"/>公司<br>
        <br>
        <font face="楷体" size="6" color="">
                                    公司主页     company.jsp<br>
        </font>

    
    <br>
    <br>
    <br>
    
    <table width="100%" align="center" border="1">
    
    <tr>    
    <th>公司ID</th>
	<th>公司</th>
	<th>密码</th>
	<th>地址</th>
	<th>内容</th>
	<th>网址</th>
	<th>邮箱</th>

    </tr>
    
    <s:iterator value="#request.company" >
    <tr>
    
	<td><s:property value="com_id"/></td>
	<td><a href="show?name=<s:property value="name "/>" > <s:property value="com_name "/></a></td>
	<td><s:property value="com_password"/></td>
	<td><s:property value="com_location"/></td>
	<td><s:property value="com_context"/></td>
	<td><s:property value="com_website"/></td>
	<td><s:property value="com_email"/></td>

    </tr>

    </s:iterator>   
    </table>
    

    </center>

        
    </div></td>
  </tr>
  
  <tr>
    <td colspan="2"><div align="center">
     <jsp:include flush="true" page="tail.jsp"></jsp:include>
    </div></td>
  </tr>
    
  
</table>
  </body>
</html>

